<template>
    <div class="index">
      <h1>index1</h1>
        <div>
          <router-link to="/">Home</router-link>
            <router-link to="/index2">index2</router-link>
        </div>
    </div>
</template>

<script>
export default {};
</script>

<style >
.index {
    height: 100vh;
  background-color: green;
}
</style>
